﻿<Application
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:XDCCManager_Model="clr-namespace:XDCCManager.Model" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:XDCCManager_Popups="clr-namespace:XDCCManager.Popups" mc:Ignorable="d" x:Class="XDCCManager.App"
             StartupUri="Windows/StartupWindow.xaml" Startup="Application_Startup"
		Exit="Application_Exit" Deactivated="Application_Deactivated" DispatcherUnhandledException="Application_DispatcherUnhandledException">
    <Application.Resources>

    	<ResourceDictionary>
    		<ResourceDictionary.MergedDictionaries>
    			<ResourceDictionary Source="Themes/generic.xaml"/>
    		</ResourceDictionary.MergedDictionaries>

    		<XDCCManager_Model:ActionQueueContext x:Key="ActionQueueContextDataSource" d:IsDataSource="True"/>

    		<XDCCManager_Model:ServedFilesContext x:Key="ServedFilesContextDataSource" d:IsDataSource="True"/>
        
    		<XDCCManager_Model:ServerContext x:Key="ServerContextDataSource" d:IsDataSource="True"/>
    	</ResourceDictionary>
    </Application.Resources>
</Application>
